﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mogre;

namespace ProjetSMA.View.Mogre
{
    class Entry
    {
        public void Start()
        {
            try
            {
                Main app = new Main();
                app.Go();
            }
            catch (System.Runtime.InteropServices.SEHException)
            {
                // Check if it's an Ogre Exception
                if (OgreException.IsThrown)
                    Base.ShowOgreException();
                else
                    throw;
            }
        }
    }
}
